photo property

Uint8List photo
@JsonKey(ignore: true), read / write

Photo, which can be null

JsonSerializer doesn't support Uint8List: https://github.com/google/json_serializable.dart/issues/572

Because of that we cannot set disallowUnrecognizedKeys to true on the class.

Implementation

@JsonKey(ignore: true)
Uint8List photo;