toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (framework != null) 'framework': framework!,
      if (modelPath != null) 'modelPath': modelPath!,
      if (pythonVersion != null) 'pythonVersion': pythonVersion!,
      if (runtimeVersion != null) 'runtimeVersion': runtimeVersion!,
    };