getErrors method

  1. @override
Future<List<MoveServiceError>> getErrors()
override

Gets the current SDK failures Returns current service state. Empty if all good.

Implementation

@override
Future<List<MoveServiceError>> getErrors() async {
  List<dynamic> errors =
      await methodChannel.invokeMethod<List<dynamic>>('getErrors') ?? [];
  var result = MoveServiceError.fromNative(errors);
  return result;
}