createNeed method Null safety
- LocalizedType<
NeedType> needType, - Instant startDate,
- Instant endDate
Creates a new need to a given needType. Returns the Need
that was sent on success, null on error. Note
that the returned Need has the NeedInvitation of all the participants.
Implementation
Future<Need?> createNeed(final LocalizedType<NeedType> needType,
final Instant startDate, final Instant endDate) async {
// ##TODO(sh1l0n): Fill query
return null;
}