CommercioDocMetadataSchema constructor

CommercioDocMetadataSchema({
  1. required String uri,
  2. required String version,
})

Implementation

CommercioDocMetadataSchema({
  required this.uri,
  required this.version,
})   : assert(uri.isNotEmpty && checkStringBytesLen(uri, 512)),
      assert(uri.isNotEmpty && checkStringBytesLen(version, 32));