setChannelFetchTime method

Future<void> setChannelFetchTime(
  1. String channel,
  2. int fetchTime
)

set a channel fetch time

Implementation

Future<void> setChannelFetchTime(String channel, int fetchTime) async {
  await _database.insert(
    tableChannelFetches,
    {columnChannel: channel, columnFetchTime: fetchTime},
    conflictAlgorithm: ConflictAlgorithm.replace,
  );
}