toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createField != null) 'createField': createField!,
      if (createSelectionChoice != null)
        'createSelectionChoice': createSelectionChoice!,
      if (deleteField != null) 'deleteField': deleteField!,
      if (deleteSelectionChoice != null)
        'deleteSelectionChoice': deleteSelectionChoice!,
      if (disableField != null) 'disableField': disableField!,
      if (disableSelectionChoice != null)
        'disableSelectionChoice': disableSelectionChoice!,
      if (enableField != null) 'enableField': enableField!,
      if (enableSelectionChoice != null)
        'enableSelectionChoice': enableSelectionChoice!,
      if (updateField != null) 'updateField': updateField!,
      if (updateFieldType != null) 'updateFieldType': updateFieldType!,
      if (updateLabel != null) 'updateLabel': updateLabel!,
      if (updateSelectionChoiceProperties != null)
        'updateSelectionChoiceProperties': updateSelectionChoiceProperties!,
    };