toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final amount = this.amount;
  final description = this.description;
  final expectedUnitsPerYear = this.expectedUnitsPerYear;
  final range = this.range;
  final type = this.type;
  final unit = this.unit;
  return {
    'amount': ?amount,
    'description': ?description,
    'expectedUnitsPerYear': ?expectedUnitsPerYear,
    'range': ?range,
    'type': ?type,
    'unit': ?unit,
  };
}