parseResponse static method
Implementation
static Uint8List parseResponse(dynamic result) {
if (result is Uint8List) {
return result;
} else if (result is List<int>) {
return Uint8List.fromList(result);
} else if (result is Map) {
return Uint8List.fromList(result.values.cast<int>().toList());
} else {
throw Exception('Unexpected result type from near_signTransaction');
}
}