toJson method

Map<String, dynamic> toJson()

Implementation

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