Block.fromJson constructor

Block.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Block.fromJson(Map<String, dynamic> json) {
  return Block(
    blockIndex: json['BlockIndex'] as int?,
    blockToken: json['BlockToken'] as String?,
  );
}