toMap method

  1. @override
Map<String, Object?> toMap()
override

Implementation

@override
Map<String, Object?> toMap() {
  return {
    'taskId': taskId,
    if (relationshipType != null) 'relationshipType': relationshipType,
  };
}