Skip to content

Different invokeMethod calls. #8

Description

@neexpl

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});
}

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions