toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (boolValue != null) 'boolValue': boolValue!,
      if (datetimeValue != null)
        'datetimeValue': datetimeValue!.toUtc().toIso8601String(),
      if (intValue != null) 'intValue': intValue!,
      if (msgValue != null) 'msgValue': msgValue!,
      if (name != null) 'name': name!,
      if (stringValue != null) 'stringValue': stringValue!,
    };