CommercioDocMetadata constructor
CommercioDocMetadata({
- required String contentUri,
- String? schemaType,
- CommercioDocMetadataSchema? schema,
Implementation
CommercioDocMetadata({
required this.contentUri,
this.schemaType,
this.schema,
}) : assert(checkStringBytesLen(contentUri, 512)),
assert((schemaType != null &&
schemaType.isNotEmpty &&
checkStringBytesLen(schemaType, 512)) ||
schema != null);