MultiSigStruct.fromJson constructor

MultiSigStruct.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory MultiSigStruct.fromJson(Map<String, dynamic> data) {
  return MultiSigStruct(
    (data["sigs"] as List).map((e) => Map<String, dynamic>.of(e)).toList(),
    data["bitmap"],
    MultiSigPublicKeyStruct.fromJson(data["multisig_pk"]),
  );
}