BlockRequest.fromMap constructor

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

Implementation

factory BlockRequest.fromMap(Map<String, dynamic> map) {
  return BlockRequest(NetworkIdentifier.fromMap(map["network_identifier"]),
      PartialBlockIdentifier.fromMap(map["block_identifier"]));
}