local property

String local

Returns the local part of this EmailAddress instance.

Example: If email is "xy@gmail.com" this getter will return "xy"

Implementation

String get local => this.toString().split('@')[0];