toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final constraints = this.constraints;
  final preference = this.preference;
  return {'constraints': ?constraints, 'preference': ?preference};
}