setUserName static method Null safety

Future<void> setUserName(
  1. String? name
)

Sets User name which all new beacons will be associated with

Max length: 128 characters

Implementation

static Future<void> setUserName(String? name) async {
  await _channel
      .invokeMethod('setUserName', <String, dynamic>{'userName': name});
}