jsonMap method

Map<String, dynamic> jsonMap()

Implementation

Map<String, dynamic> jsonMap() => {
      "activated": activated,
      "active": active,
      "bit": bit,
      "current_epoch": currentEpoch,
      "description": description,
      "finished": finished,
      "global_acceptance_rate": globalAcceptanceRate,
      "last_updated": lastUpdated,
      "rates": List<dynamic>.from(rates.map((x) => x.jsonMap())),
      "relative_acceptance_rate": relativeAcceptanceRate,
      "start_epoch": startEpoch,
      "start_time": startTime,
      "stop_epoch": stopEpoch,
      "stop_time": stopTime,
      "tapi_id": tapiId,
      "title": title,
      "urls": List<dynamic>.from(urls.map((x) => x)),
    };