toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final entityId = this.entityId;
  final entityType = this.entityType;
  return {
    'entityId': entityId,
    'entityType': entityType,
  };
}