toJson method

Map<String, dynamic> toJson()

Converts to JSON.

Implementation

Map<String, dynamic> toJson() => {
  'id': id,
  'type': type,
  'expires_at': expiresAt,
  'model': model,
  'audio': audio.toJson(),
};