setParent method

Future<void> setParent(
  1. CategoryChannel channel
)

Set parents of this

Implementation

Future<void> setParent (CategoryChannel channel) async {
  await update(ChannelBuilder({ 'parent_id': channel.id }));
}