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