signPayloadResponse method
Future<Map>
signPayloadResponse({
- required String id,
- required String? signature,
- SigningType type = SigningType.micheline,
override
send sign payload response
id
beacon request id
signature
signature using payload
type
signing type of payload
Implementation
@override
Future<Map> signPayloadResponse({
required String id,
required String? signature,
SigningType type = SigningType.micheline,
}) async {
Map<String, dynamic> args = <String, dynamic>{};
args.putIfAbsent("id", () => id);
args.putIfAbsent("signature", () => signature);
args.putIfAbsent("type", () => describeEnum(type));
Map data = await methodChannel.invokeMethod('tezosResponse', args);
return data;
}