PColorRGB.fromJson constructor

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

Implementation

factory PColorRGB.fromJson(Map<String, dynamic> j) =>
    PColorRGB(parseInt(j['r']), parseInt(j['g']), parseInt(j['b']));