fromJSON static method

Height fromJSON(
  1. HeightJSON data
)

Implementation

static Height fromJSON(HeightJSON data) {
  return Height(
      double.parse(data.revision_number), double.parse(data.revision_height));
}