Signer.fromJson constructor

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

Implementation

factory Signer.fromJson(Map<String, dynamic> json) => new Signer(
    json['key'] as String,
    json['type'] as String,
    convertInt(json['weight']),
    json['sponsor'] as String);