SerialPortOutput.fromJson constructor

SerialPortOutput.fromJson(
  1. Map json_
)

Implementation

SerialPortOutput.fromJson(core.Map json_)
    : this(
        contents: json_.containsKey('contents')
            ? json_['contents'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        next: json_.containsKey('next') ? json_['next'] as core.String : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        start:
            json_.containsKey('start') ? json_['start'] as core.String : null,
      );