userId property Null safety

  1. @JsonKey(fromJson: userToUserId, name: 'user')
String userId
final

User's id

Implementation

@JsonKey(fromJson: userToUserId, name: 'user')
final String userId;