copyWith method

CreateTableSchema copyWith({
  1. String? tableName,
  2. Locale? locale,
  3. bool? temporary,
  4. bool? ifNotExists,
  5. List<CreateTableClause>? clauses,
})

Implementation

CreateTableSchema copyWith(
    {String? tableName,
    Locale? locale,
    bool? temporary,
    bool? ifNotExists,
    List<CreateTableClause>? clauses}) {
  return CreateTableSchema(tableName ?? this.tableName,
      locale: locale ?? this.locale,
      temporary: temporary ?? this.temporary,
      ifNotExists: ifNotExists ?? this.ifNotExists,
      clauses: clauses ?? this.clauses);
}