IntentResult.fromJson constructor

IntentResult.fromJson(
  1. dynamic data
)

Implementation

factory IntentResult.fromJson(dynamic data) {
  var json = DynamicJsonExtension.getJsonMap(data);
  return IntentResult(
    methods: json['intentMethods'] != null
        ? IntentMethods.fromJson(json['intentMethods'])
        : null,
    details: json['intentDetails'] != null
        ? IntentDetails.fromJson(json['intentDetails'])
        : null,
  );
}