toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (eventTime != null) 'eventTime': eventTime!,
      if (eventType != null) 'eventType': eventType!,
      if (reason != null) 'reason': reason!,
      if (value != null) 'value': value!,
    };