isValid property

bool get isValid

Implementation

bool get isValid => email.contains('@') && name.trim().isNotEmpty;