toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DocumentHashType.sha256:
      return 'Sha256';
    case DocumentHashType.sha1:
      return 'Sha1';
  }
}