signable method

bool signable(
  1. List<SignableKey> keys
)

Implementation

bool signable(List<SignableKey> keys) => keys.any((key) =>
    key is CrossSigningKey && key.usage.contains('master') ||
    key is DeviceKeys &&
        key.userId == client.userID &&
        key.identifier != client.deviceID);