EnterpriseCrmEventbusProtoTaskMetadata.fromJson constructor

EnterpriseCrmEventbusProtoTaskMetadata.fromJson(
  1. Map json_
)

Implementation

EnterpriseCrmEventbusProtoTaskMetadata.fromJson(core.Map json_)
    : this(
        activeTaskName: json_.containsKey('activeTaskName')
            ? json_['activeTaskName'] as core.String
            : null,
        admins: json_.containsKey('admins')
            ? (json_['admins'] as core.List)
                .map((value) =>
                    EnterpriseCrmEventbusProtoTaskMetadataAdmin.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        category: json_.containsKey('category')
            ? json_['category'] as core.String
            : null,
        codeSearchLink: json_.containsKey('codeSearchLink')
            ? json_['codeSearchLink'] as core.String
            : null,
        defaultJsonValidationOption:
            json_.containsKey('defaultJsonValidationOption')
                ? json_['defaultJsonValidationOption'] as core.String
                : null,
        defaultSpec: json_.containsKey('defaultSpec')
            ? json_['defaultSpec'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        descriptiveName: json_.containsKey('descriptiveName')
            ? json_['descriptiveName'] as core.String
            : null,
        docMarkdown: json_.containsKey('docMarkdown')
            ? json_['docMarkdown'] as core.String
            : null,
        externalCategory: json_.containsKey('externalCategory')
            ? json_['externalCategory'] as core.String
            : null,
        externalCategorySequence:
            json_.containsKey('externalCategorySequence')
                ? json_['externalCategorySequence'] as core.int
                : null,
        externalDocHtml: json_.containsKey('externalDocHtml')
            ? json_['externalDocHtml'] as core.String
            : null,
        externalDocLink: json_.containsKey('externalDocLink')
            ? json_['externalDocLink'] as core.String
            : null,
        externalDocMarkdown: json_.containsKey('externalDocMarkdown')
            ? json_['externalDocMarkdown'] as core.String
            : null,
        g3DocLink: json_.containsKey('g3DocLink')
            ? json_['g3DocLink'] as core.String
            : null,
        iconLink: json_.containsKey('iconLink')
            ? json_['iconLink'] as core.String
            : null,
        isDeprecated: json_.containsKey('isDeprecated')
            ? json_['isDeprecated'] as core.bool
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        standaloneExternalDocHtml:
            json_.containsKey('standaloneExternalDocHtml')
                ? json_['standaloneExternalDocHtml'] as core.String
                : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        system: json_.containsKey('system')
            ? json_['system'] as core.String
            : null,
        tags: json_.containsKey('tags')
            ? (json_['tags'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );