value property

String get value

Implementation

String get value {
  switch (this) {
    case PinningMethod.certificate:
      return 'certificate';
    case PinningMethod.publicKey:
      return 'publickey';
  }
}