Client.fromJson constructor

Client.fromJson(
  1. Map json_
)

Implementation

Client.fromJson(core.Map json_)
    : this(
        clientAccountId: json_.containsKey('clientAccountId')
            ? json_['clientAccountId'] as core.String
            : null,
        clientName: json_.containsKey('clientName')
            ? json_['clientName'] as core.String
            : null,
        entityId: json_.containsKey('entityId')
            ? json_['entityId'] as core.String
            : null,
        entityName: json_.containsKey('entityName')
            ? json_['entityName'] as core.String
            : null,
        entityType: json_.containsKey('entityType')
            ? json_['entityType'] as core.String
            : null,
        partnerClientId: json_.containsKey('partnerClientId')
            ? json_['partnerClientId'] as core.String
            : null,
        role: json_.containsKey('role') ? json_['role'] as core.String : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        visibleToSeller: json_.containsKey('visibleToSeller')
            ? json_['visibleToSeller'] as core.bool
            : null,
      );