14 lines
270 B
Dart
14 lines
270 B
Dart
part of '../main.dart';
|
|
|
|
class EntityWrapper {
|
|
|
|
String displayName;
|
|
String icon;
|
|
Entity entity;
|
|
|
|
EntityWrapper({this.entity, String icon, String displayName}) {
|
|
this.icon = icon ?? entity.icon;
|
|
this.displayName = displayName ?? entity.displayName;
|
|
}
|
|
|
|
} |