Overhead.fromJson constructor

Overhead.fromJson(
  1. Map<String, dynamic> json
)

Creates a Overhead from JSON data.

Implementation

factory Overhead.fromJson(Map<String, dynamic> json) {
  final tempPodFixedJson = json['podFixed'];

  final Map<String, String>? tempPodFixed = tempPodFixedJson != null
      ? Map<String, String>.from(tempPodFixedJson)
      : null;

  return Overhead(
    podFixed: tempPodFixed,
  );
}