toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var currentValue = this.currentValue;
  var entityIds = this.entityIds;

  final json = <String, Object?>{};
  if (currentValue != null) {
    json[r'currentValue'] = currentValue;
  }
  json[r'entityIds'] = entityIds;
  return json;
}