Range.fromJSON constructor

Range.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory Range.fromJSON(Map<String, dynamic> data) {
	return Range(
		low: (data["low"] as num?)?.toDouble(),
		high: (data["high"] as num?)?.toDouble()
	);
}