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