toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (type != null) 'type': type!,
      if (valueBool != null) 'valueBool': valueBool!,
      if (valueInteger != null) 'valueInteger': valueInteger!,
      if (valueMultiselect != null) 'valueMultiselect': valueMultiselect!,
      if (valueString != null) 'valueString': valueString!,
    };