Forger.fromJson constructor

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

Implementation

factory Forger.fromJson(Map<String, dynamic> json) {
  Coordinator coordinator = Coordinator.fromJson(json['coordinator']);
  Period period = Period.fromJson(json['period']);
  return Forger(
    coordinator: coordinator,
    period: period,
  );
}