SourceOrderConfig.fromJson constructor

SourceOrderConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SourceOrderConfig.fromJson(Map<String, dynamic> json) {
  return SourceOrderConfig(
    parentOutlineColor: dom.RGBA.fromJson(
      json['parentOutlineColor'] as Map<String, dynamic>,
    ),
    childOutlineColor: dom.RGBA.fromJson(
      json['childOutlineColor'] as Map<String, dynamic>,
    ),
  );
}