QueryAnalyzeCodeResponse.fromJson constructor

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

Implementation

factory QueryAnalyzeCodeResponse.fromJson(Map<String, dynamic> json) {
  return QueryAnalyzeCodeResponse(
    hasIbcEntryPoints: json.valueAsBool<bool?>(
      'has_ibc_entry_points',
      acceptCamelCase: true,
    ),
    requiredFeatures: json.valueAsString<String?>(
      'required_features',
      acceptCamelCase: true,
    ),
  );
}