update method

Future<int?> update(
  1. Step step
)

Implementation

Future<int?> update(Step step) async {
  return await db?.update(tableName, step.toMap(),
      where: 'id = ?', whereArgs: [step.id]);
}