Size.fromRecord constructor

Size.fromRecord(
  1. (int, int) record
)

Implementation

factory Size.fromRecord((int, int) record) {
  final p = calloc<cvg.Size>()
    ..ref.height = record.$2
    ..ref.width = record.$1;
  return Size.fromPointer(p);
}