toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dateOptions != null) 'dateOptions': dateOptions!,
      if (id != null) 'id': id!,
      if (integerOptions != null) 'integerOptions': integerOptions!,
      if (selectionOptions != null) 'selectionOptions': selectionOptions!,
      if (textOptions != null) 'textOptions': textOptions!,
      if (updateMask != null) 'updateMask': updateMask!,
      if (userOptions != null) 'userOptions': userOptions!,
    };