isValid property
bool
get
isValid
Check if credentials are valid (non-empty and not expired)
Implementation
bool get isValid {
return accessKeyId.isNotEmpty &&
secretAccessKey.isNotEmpty &&
(sessionToken?.isNotEmpty ?? false) &&
!isExpired;
}