flx: Remove deprecated KeyPair class.
diff --git a/packages/flx/lib/signing.dart b/packages/flx/lib/signing.dart index 8ec65c8..fae2d58 100644 --- a/packages/flx/lib/signing.dart +++ b/packages/flx/lib/signing.dart
@@ -161,16 +161,3 @@ ECPublicKey publicKey = _publicKeyFromPrivateKey(privateKey); return new AsymmetricKeyPair(publicKey, privateKey); } - -// TODO(mpcomplete): remove this class when flutter_tools is updated. -class KeyPair extends AsymmetricKeyPair { - KeyPair(PublicKey publicKey, PrivateKey privateKey) - : super(publicKey, privateKey); - - static KeyPair readFromPrivateKeySync(String privateKeyPath) { - AsymmetricKeyPair pair = keyPairFromPrivateKeyFileSync(privateKeyPath); - if (pair == null) - return null; - return new KeyPair(pair.publicKey, pair.privateKey); - } -}