insertDefaultStatus method

  1. @override
Future<bool?> insertDefaultStatus(
  1. String status
)
override

This method is used to insert the default status list.

Implementation

@override
Future<bool?> insertDefaultStatus(String status) async {
  bool? res;
  try {
    res = await mirrorFlyMethodChannel
        .invokeMethod<bool>('insertDefaultStatus', {"status": status});
    return res;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}