Different invokeMethod calls.
Opened this issue · 0 comments
neexpl commented
Thanks for that plugin. Really helpfull.
Is there a reason to keep some MethodChannel calls like this:
Future addUserRestrictions(List restrictions) async {
return await _methodChannel.invokeMethod(
'addUserRestrictions', restrictions);
}
instead of this:
Future addUserRestrictions(List restrictions) async {
return await _methodChannel.invokeMethod(
'addUserRestrictions', {'restrictions': restrictions});
}
?