Update.fromJson constructor

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

Implementation

factory Update.fromJson(Map<String, dynamic> json) {
  return Update(
      epoch: json["epoch"],
      proposedProtocolParameterUpdates:
          ProposedProtocolParameterUpdates.fromJson(
              json["proposed_protocol_parameter_updates"]));
}