ElectionKeyVerificationItem.fromJson constructor

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

Read this payload from a decoded JSON object.

Implementation

factory ElectionKeyVerificationItem.fromJson(Map<String, dynamic> json) =>
    ElectionKeyVerificationItem(
      trustee: json['trustee'] as int,
      key: json['key'] as String,
    );