toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final customConstraint = this.customConstraint;
  final error = this.error;
  final name = this.name;
  final resource = this.resource;
  return {
    'customConstraint': ?customConstraint,
    'error': ?error,
    'name': ?name,
    'resource': ?resource,
  };
}