MethodResponse.fromJson constructor
Implementation
factory MethodResponse.fromJson(Map<String, dynamic> json) {
return MethodResponse(
responseModels: (json['responseModels'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
responseParameters: (json['responseParameters'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as bool)),
statusCode: json['statusCode'] as String?,
);
}