type property Null safety

String? type
final

type Default is 'text', can be 'number', 'email', 'password', 'phone'

Implementation

final String? type;