toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'temporaryPasswordState',
if (extra != null) '@extra': extra,
'has_password': has_password,
'valid_for': valid_for
};
}