RoboDirective.fromJson constructor

RoboDirective.fromJson(
  1. Map json_
)

Implementation

RoboDirective.fromJson(core.Map json_)
    : this(
        actionType: json_.containsKey('actionType')
            ? json_['actionType'] as core.String
            : null,
        inputText: json_.containsKey('inputText')
            ? json_['inputText'] as core.String
            : null,
        resourceName: json_.containsKey('resourceName')
            ? json_['resourceName'] as core.String
            : null,
      );