toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  final unusedExpiresAt = this.unusedExpiresAt;
  return {
    'content_uri': contentUri.toString(),
    if (unusedExpiresAt != null) 'unused_expires_at': unusedExpiresAt,
  };
}