BlockEvent.fromMap constructor

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

Implementation

factory BlockEvent.fromMap(Map<String, dynamic> map) {
  return BlockEvent(map["sequence"],
      BlockIdentifier.fromMap(map["block_identifier"]), map["type"]);
}