SizeWithUnit.fromJSON constructor

SizeWithUnit.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

SizeWithUnit.fromJSON(Map<String, dynamic> json)
    : this(DoubleWithUnit.fromJSON(json['width']), DoubleWithUnit.fromJSON(json['height']));