MetaInfo constructor
Implementation
MetaInfo({
this.imageURL,
required this.name,
required this.description,
}) : assert(name.trim().length <= 50, 'Name can be max. 50 characters'),
assert(
description.trim().length <= 150,
'Description can be max. 150 characters',
),
assert(
imageURL == null || Uri.tryParse(imageURL) != null,
'Invalid image URL',
);