ClientInfo.fromJson constructor

ClientInfo.fromJson(
  1. Map _json
)

Implementation

ClientInfo.fromJson(core.Map _json)
    : this(
        clientInfoDetails: _json.containsKey('clientInfoDetails')
            ? (_json['clientInfoDetails'] as core.List)
                .map((value) => ClientInfoDetail.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );