Freezed and json_serializable: How to use a custom converter

Since null safety was introduced, for JsonConverter to work with the freezed generator the nullability of the types declared in JsonConverter need to match the nullability of the type in the freezed class. If the types do not match, freezed ignores the converter. So using your example: @freezed class NewsPost with _$NewsPost { factory NewsPost({ … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)