toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (interactionTime != null) 'interactionTime': interactionTime!,
      if (principal != null) 'principal': principal!,
      if (type != null) 'type': type!,
    };