EventsBlocksResponse.fromMap constructor

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

Implementation

factory EventsBlocksResponse.fromMap(Map<String, dynamic> map) {
  return EventsBlocksResponse(map["max_sequence"],
      (map["events"] as List).map((e) => BlockEvent.fromMap(e)).toList());
}