syncNoteList
Future<List<Note>> syncNoteList(List<Note> noteList) async { const type = 'logSyncNoteList'; var dataList = noteList .map((e) => NoteInput() ..id = e.id ..name = e.name ..userId = e.userId ..noteType = e.noteType ..isActive = e.isActive ..createdAt = e.createdAt ..updatedAt = e.updatedAt) .toList(); List<Input> inputs = [TypeListInput(Fields.input, dataList)]; return await api.mutateList(type, fields, inputs: inputs); }