invitedAt property Null safety

int invitedAt

Implementation

int get invitedAt =>
    category == ChannelEventCategory.invite ? (data['invited_at'] ?? 0) : 0;