name property Null safety

Future<String> name

Gets the name that is set for the device.

Implementation

static Future<String> get name async {
  return _invokeSdkMethod<Map<Object?, Object?>>(SdkMethod.getName)
      .then((value) {
    return deserializeName(value);
  });
}