EnterpriseCrmEventbusProtoAddress.fromJson constructor

EnterpriseCrmEventbusProtoAddress.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmEventbusProtoAddress.fromJson(core.Map json_)
    : this(
        email:
            json_.containsKey('email') ? json_['email'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        tokens: json_.containsKey('tokens')
            ? (json_['tokens'] as core.List)
                .map((value) => EnterpriseCrmEventbusProtoToken.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );