ConstructionPreprocessResponse.fromJson constructor

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

Implementation

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