IntentResult.fromJson constructor

IntentResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory IntentResult.fromJson(Map<String, dynamic> json) {
  return IntentResult(
    methods: json['intentMethods'] != null
        ? IntentMethods.fromJson(json['intentMethods'])
        : null,
    details: json['intentDetails'] != null
        ? IntentDetails.fromJson(json['intentDetails'])
        : null,
  );
}