toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (deviceId != null) 'deviceId': deviceId!,
  if (failureDetails != null) 'failureDetails': failureDetails!,
  if (failureReason != null) 'failureReason': failureReason!,
  if (productId != null) 'productId': productId!,
  if (userId != null) 'userId': userId!,
};