ConstructionPreprocessResponse.fromMap constructor

ConstructionPreprocessResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ConstructionPreprocessResponse.fromMap(Map<String, dynamic> map) {
  return ConstructionPreprocessResponse(
      map["options"],
      map['required_public_keys'] != null
          ? (map["required_public_keys"] as List)
              .map((e) => AccountIdentifier.fromMap(e))
              .toList()
          : null);
}