toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'id': id,
  'source': _sourceToJson(source),
  'installedAt': installedAt.toIso8601String(),
  'sizeBytes': sizeBytes,
  'type': type.toString(),
  'hasLoraWeights': hasLoraWeights,
};