toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (eventDetail != null) 'eventDetail': eventDetail!,
      if (eventSource != null) 'eventSource': eventSource!,
      if (eventTime != null) 'eventTime': eventTime!,
      if (eventType != null) 'eventType': eventType!,
      if (productEventDetail != null)
        'productEventDetail': productEventDetail!,
      if (userInfo != null) 'userInfo': userInfo!,
    };