EnterpriseCrmEventbusProtoAttributes.fromJson constructor
EnterpriseCrmEventbusProtoAttributes.fromJson(
- Map json_
Implementation
EnterpriseCrmEventbusProtoAttributes.fromJson(core.Map json_)
: this(
dataType: json_.containsKey('dataType')
? json_['dataType'] as core.String
: null,
defaultValue: json_.containsKey('defaultValue')
? EnterpriseCrmEventbusProtoValueType.fromJson(
json_['defaultValue'] as core.Map<core.String, core.dynamic>)
: null,
isRequired: json_.containsKey('isRequired')
? json_['isRequired'] as core.bool
: null,
isSearchable: json_.containsKey('isSearchable')
? json_['isSearchable'] as core.bool
: null,
logSettings: json_.containsKey('logSettings')
? EnterpriseCrmEventbusProtoLogSettings.fromJson(
json_['logSettings'] as core.Map<core.String, core.dynamic>)
: null,
masked:
json_.containsKey('masked') ? json_['masked'] as core.bool : null,
readOnly: json_.containsKey('readOnly')
? json_['readOnly'] as core.bool
: null,
searchable: json_.containsKey('searchable')
? json_['searchable'] as core.String
: null,
taskVisibility: json_.containsKey('taskVisibility')
? (json_['taskVisibility'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);