ActionDetail.fromJson constructor

ActionDetail.fromJson(
  1. Map json_
)

Implementation

ActionDetail.fromJson(core.Map json_)
    : this(
        appliedLabelChange: json_.containsKey('appliedLabelChange')
            ? AppliedLabelChange.fromJson(json_['appliedLabelChange']
                as core.Map<core.String, core.dynamic>)
            : null,
        comment: json_.containsKey('comment')
            ? Comment.fromJson(
                json_['comment'] as core.Map<core.String, core.dynamic>)
            : null,
        create: json_.containsKey('create')
            ? Create.fromJson(
                json_['create'] as core.Map<core.String, core.dynamic>)
            : null,
        delete: json_.containsKey('delete')
            ? Delete.fromJson(
                json_['delete'] as core.Map<core.String, core.dynamic>)
            : null,
        dlpChange: json_.containsKey('dlpChange')
            ? DataLeakPreventionChange.fromJson(
                json_['dlpChange'] as core.Map<core.String, core.dynamic>)
            : null,
        edit: json_.containsKey('edit')
            ? Edit.fromJson(
                json_['edit'] as core.Map<core.String, core.dynamic>)
            : null,
        move: json_.containsKey('move')
            ? Move.fromJson(
                json_['move'] as core.Map<core.String, core.dynamic>)
            : null,
        permissionChange: json_.containsKey('permissionChange')
            ? PermissionChange.fromJson(json_['permissionChange']
                as core.Map<core.String, core.dynamic>)
            : null,
        reference: json_.containsKey('reference')
            ? ApplicationReference.fromJson(
                json_['reference'] as core.Map<core.String, core.dynamic>)
            : null,
        rename: json_.containsKey('rename')
            ? Rename.fromJson(
                json_['rename'] as core.Map<core.String, core.dynamic>)
            : null,
        restore: json_.containsKey('restore')
            ? Restore.fromJson(
                json_['restore'] as core.Map<core.String, core.dynamic>)
            : null,
        settingsChange: json_.containsKey('settingsChange')
            ? SettingsChange.fromJson(json_['settingsChange']
                as core.Map<core.String, core.dynamic>)
            : null,
      );