ShapeOutsideInfo.fromJson constructor

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

Implementation

factory ShapeOutsideInfo.fromJson(Map<String, dynamic> json) {
  return ShapeOutsideInfo(
    bounds: Quad.fromJson(json['bounds'] as List),
    shape: (json['shape'] as List).map((e) => e as dynamic).toList(),
    marginShape:
        (json['marginShape'] as List).map((e) => e as dynamic).toList(),
  );
}