toJson method

Map<String, Object> toJson()

Converts a Overhead instance to JSON data.

Implementation

Map<String, Object> toJson() {
  final jsonData = <String, Object>{};

  final tempPodFixed = podFixed;

  if (tempPodFixed != null) {
    jsonData['podFixed'] = tempPodFixed;
  }

  return jsonData;
}