registerUser method

  1. @override
Future<bool> registerUser(
  1. String userID
)
override

Implementation

@override
Future<bool> registerUser(String userID) async {
  Map<String, String> args = {
    "user_id": userID,
  };

  final result = await methodChannel.invokeMethod<bool>("RegisterUser", args);

  return result ?? false;
}