getWarnings method

  1. @override
Future<List<MoveServiceWarning>> getWarnings()
override

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

Implementation

@override
Future<List<MoveServiceWarning>> getWarnings() async {
  final warnings =
      await methodChannel.invokeMethod<List<dynamic>>('getWarnings') ?? [];
  var result = MoveServiceWarning.fromNative(warnings);
  return result;
}