VotingParameters.fromJson constructor

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

Read this payload from a decoded JSON object.

Implementation

factory VotingParameters.fromJson(Map<String, dynamic> json) =>
    VotingParameters(
      suite: json['suite'] as String,
      votingKey: json['votingKey'] as String,
    );