fromRect method Null safety

DomRectReadOnly fromRect(
  1. [Map? other]
)

Implementation

static DomRectReadOnly fromRect([Map? other]) {
  if (other != null) {
    var other_1 = convertDartToNative_Dictionary(other);
    return _fromRect_1(other_1);
  }
  return _fromRect_2();
}