DataCreatedEffectResponse.fromJson constructor

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

Implementation

factory DataCreatedEffectResponse.fromJson(Map<String, dynamic> json) =>
    new DataCreatedEffectResponse()
      ..id = json['id'] as String
      ..account = json['account'] == null
          ? null
          : json['account']
      ..type = json['type'] as String
      ..createdAt = json['created_at'] as String
      ..pagingToken = json['paging_token'] as String
      ..links = json['_links'] == null
          ? null
          : new EffectResponseLinks.fromJson(
          json['_links'] as Map<String, dynamic>);