PsdLayerData constructor

PsdLayerData(
  1. String tag,
  2. InputBuffer data
)

Implementation

factory PsdLayerData(String tag, InputBuffer data) {
  switch (tag) {
    case PsdLayerSectionDivider.TAG:
      return PsdLayerSectionDivider(tag, data);
    default:
      return PsdLayerAdditionalData(tag, data);
  }
}