toJson method

Map<String, dynamic> toJson()

Implementation

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