Rectangle.fromJson constructor

Rectangle.fromJson(
  1. List value
)

Implementation

factory Rectangle.fromJson(List<dynamic> value) =>
    Rectangle(value.map((e) => e as num).toList());