Diameter.fromJson constructor

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

Implementation

Diameter.fromJson(Map<String, dynamic> json) {
  _meters = json['meters'];
  _feet = json['feet'];
}