PColor.fromJson constructor

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

Implementation

factory PColor.fromJson(Map<String, dynamic> j) =>
    j.containsKey('a') ? PColorRGBA.fromJson(j) : PColorRGB.fromJson(j);