GeolocationDataEntity.fromJson constructor

GeolocationDataEntity.fromJson(
  1. dynamic json
)

Creates a new GeolocationDataEntity Object from json json needs to be an array of double

Implementation

factory GeolocationDataEntity.fromJson(dynamic json) {
  Geolocation? jsonValue;
  if (json != null) {
    jsonValue = Geolocation.fromJson(json);
  }
  return GeolocationDataEntity(jsonValue);
}