isIphone property

  1. @override
bool get isIphone

Returns true if the platform is an iPhone.

Implementation

@override
bool get isIphone => device == 'iPhone';