OSRef.fromJson constructor

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

Creates a new OSRef object from a given JSON object

Implementation

OSRef.fromJson(Map<String, dynamic> json) {
  this.easting = json["easting"];
  this.northing = json["northing"];
  this.numericalRef = json["numericalRef"];
  this.letterRef = json["letterRef"];
  this.d = json["datum"];
}