toCompanion method
- bool nullToAbsent
Implementation
BlocklistCompanion toCompanion(bool nullToAbsent) {
return BlocklistCompanion(
userId: Value(userId),
reason:
reason == null && nullToAbsent ? const Value.absent() : Value(reason),
at: Value(at),
cursor:
cursor == null && nullToAbsent ? const Value.absent() : Value(cursor),
);
}