setAccount method

Future<Map<String, dynamic>?> setAccount(
  1. Map<String, dynamic> map
)

Set the missing account data in order to resolve the interruption.

Implementation

Future<Map<String, dynamic>?> setAccount(Map<String, dynamic> map) async {
  final result = await _channel
      .invokeMapMethod<String, dynamic>('resolveSetAccount', map)
      .catchError((error) {
    debugPrint('setAccount Error: $error');
    throw GigyaResponse.fromJson(decodeError(error));
  });
  return result;
}