$OffsetPosition.fromJson constructor Null safety

$OffsetPosition.fromJson(
  1. Map _json
)

Implementation

$OffsetPosition.fromJson(core.Map _json)
    : this(
        left: _json.containsKey('left') ? _json['left'] as core.int : null,
        top: _json.containsKey('top') ? _json['top'] as core.int : null,
      );