ConstructionPayloadsRequest.fromMap constructor
Implementation
factory ConstructionPayloadsRequest.fromMap(Map<String, dynamic> map) {
return ConstructionPayloadsRequest(
NetworkIdentifier.fromMap(map["network_identifier"]),
(map["operations"] as List).map((e) => Operation.fromMap(e)).toList(),
map["metadata"],
map["public_keys"] != null
? (map["public_keys"] as List)
.map((e) => PublicKey.fromMap(e))
.toList()
: null,
);
}