domain property

String domain

Returns the domain part of this EmailAddress instance.

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

Implementation

String get domain => this.toString().split('@')[1];