FsCommand.fromJson constructor

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,
      );