setUserName method

  1. @override
void setUserName(
  1. String name
)
override

Sets the current user name to the provided name.

Implementation

@override
void setUserName(String name) {
  throwIfNotStarted();
  methodChannel
      .invokeMethod(_setUserNameMethodName, {_userNameArgName: name});
}