toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boolValue != null) 'boolValue': boolValue!,
      if (intValue != null) 'intValue': intValue!,
      if (realValue != null) 'realValue': realValue!,
      if (setting != null) 'setting': setting!,
      if (source != null) 'source': source!,
      if (stringValue != null) 'stringValue': stringValue!,
      if (unit != null) 'unit': unit!,
    };