posts property Null safety

PostRepository posts
final

Implementation

final PostRepository posts;