getUUID method

  1. @override
Future<String?> getUUID()
override

Get uuid.

Implementation

@override
Future<String?> getUUID() async {
  if (Platform.isAndroid) {
    return await methodChannel.invokeMethod<String>('getUUID');
  } else if (Platform.isIOS) {
    return await methodChannel.invokeMethod<String>('getId');
  } else {
    return null;
  }
}