IntegrationResponse.fromJson constructor
IntegrationResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory IntegrationResponse.fromJson(Map<String, dynamic> json) {
return IntegrationResponse(
contentHandling:
(json['contentHandling'] as String?)?.toContentHandlingStrategy(),
responseParameters: (json['responseParameters'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
responseTemplates: (json['responseTemplates'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
selectionPattern: json['selectionPattern'] as String?,
statusCode: json['statusCode'] as String?,
);
}