mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
[compass_app] Mark classes used for namespacing as abstract final (#2540)
As they are just used for namespacing static properties, these classes shouldn't be extended, implemented, or instantiated.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
class Assets {
|
||||
abstract final class Assets {
|
||||
static const activities = 'assets/activities.json';
|
||||
static const destinations = 'assets/destinations.json';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user