toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (metrics != null) 'metrics': metrics!,
      if (metricsSchemaUri != null) 'metricsSchemaUri': metricsSchemaUri!,
      if (modelExplanation != null) 'modelExplanation': modelExplanation!,
      if (name != null) 'name': name!,
      if (slice != null) 'slice': slice!,
    };