GnssStatusModel.fromJson constructor

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

Implementation

factory GnssStatusModel.fromJson(Map<String, dynamic> json) =>
    GnssStatusModel(
      satelliteCount:
          json["satelliteCount"] == null ? null : json["satelliteCount"],
      hashCodec: json["hashCode"] == null ? null : json["hashCode"],
      status: json["status"] == null
          ? null
          : List<Status>.from(json["status"]
              .map((x) => Status.fromJson(Map<String, dynamic>.from(x)))),
    );