value property

String get value

Returns the string representation of the EncryptedData enum.

Implementation

String get value {
  switch (this) {
    case CommercioEncryptedData.CONTENT:
      return 'content';
    case CommercioEncryptedData.CONTENT_URI:
      return 'content_uri';
    case CommercioEncryptedData.METADATA_CONTENT_URI:
      return 'metadata.content_uri';
    case CommercioEncryptedData.METADATA_SCHEMA_URI:
      return 'metadata.schema.uri';
  }
}