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