JsonValueObject.fromJson constructor

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

Parse from a json

Implementation

factory JsonValueObject.fromJson(Map<String, dynamic> json) =>
    JsonValueObject(
      members: List<JsonObjectMember>.from((json['members'] ?? [])
          .map((item) => JsonObjectMember.fromJson(item))
          .toList()),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );