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,
      );