PDimension.fromJson constructor

PDimension.fromJson(
  1. Map<String, dynamic> j
)

Implementation

factory PDimension.fromJson(Map<String, dynamic> j) =>
    PDimension(parseNum(j['width']), parseNum(j['height']));