PRectangle.fromJson constructor

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

Implementation

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