Size.fromTuple constructor

Size.fromTuple(
  1. (int, int) tuple
)

Implementation

factory Size.fromTuple((int, int) tuple) {
  return Size.fromXY(tuple.$1, tuple.$2);
}