ConstructionParseResponse.fromJson constructor
ConstructionParseResponse.fromJson(
- Map<String, dynamic> map
)
Implementation
factory ConstructionParseResponse.fromJson(Map<String, dynamic> map) {
return ConstructionParseResponse(
(map['operations'] as List).map((e) => Operation.fromJson(e)).toList(),
map['signers'] != null
? (map['signers'] as List).map((e) => e.toString()).toList()
: null,
map['account_identifier_signers'] != null
? (map['account_identifier_signers'] as List)
.map((e) => AccountIdentifier.fromJson(e))
.toList()
: null,
map['metadata'],
);
}