SignerCreatedEffectResponse.fromJson constructor

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

Implementation

factory SignerCreatedEffectResponse.fromJson(Map<String, dynamic> json) =>
    SignerCreatedEffectResponse(convertInt(json['weight']), json['public_key'])
      ..id = json['id']
      ..account = json['account'] == null ? null : json['account']
      ..accountMuxed = json['account_muxed'] == null ? null : json['account_muxed']
      ..accountMuxedId = json['account_muxed_id'] == null ? null : json['account_muxed_id']
      ..type = json['type']
      ..createdAt = json['created_at']
      ..pagingToken = json['paging_token']
      ..links = json['_links'] == null ? null : EffectResponseLinks.fromJson(json['_links']);