getFbAnonId method

  1. @override
Future<FBAnonIdResponse?> getFbAnonId()
override

Implementation

@override
Future<FBAnonIdResponse?> getFbAnonId() async {
  final resultRaw =
      await methodChannel.invokeMethod<List<int>>('getFbAnonId');

  if (resultRaw != null) {
    return FBAnonIdResponse.fromBuffer(resultRaw);
  }

  return null;
}