ModelExplainabilityAppSpecification.fromJson constructor

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

Implementation

factory ModelExplainabilityAppSpecification.fromJson(
    Map<String, dynamic> json) {
  return ModelExplainabilityAppSpecification(
    configUri: json['ConfigUri'] as String,
    imageUri: json['ImageUri'] as String,
    environment: (json['Environment'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}