$FsCommand.fromJson constructor Null safety

$FsCommand.fromJson(
  1. Map _json
)

Implementation

$FsCommand.fromJson(core.Map _json)
    : this(
        left: _json.containsKey('left') ? _json['left'] as core.int : null,
        positionOption: _json.containsKey('positionOption')
            ? _json['positionOption'] as core.String
            : null,
        top: _json.containsKey('top') ? _json['top'] as core.int : null,
        windowHeight: _json.containsKey('windowHeight')
            ? _json['windowHeight'] as core.int
            : null,
        windowWidth: _json.containsKey('windowWidth')
            ? _json['windowWidth'] as core.int
            : null,
      );