WriteInstruction.fromJson constructor

WriteInstruction.fromJson(
  1. Map _json
)

Implementation

WriteInstruction.fromJson(core.Map _json)
    : this(
        input: _json.containsKey('input')
            ? InstructionInput.fromJson(
                _json['input'] as core.Map<core.String, core.dynamic>)
            : null,
        sink: _json.containsKey('sink')
            ? Sink.fromJson(
                _json['sink'] as core.Map<core.String, core.dynamic>)
            : null,
      );