File tree Expand file tree Collapse file tree
packages/spark_web/lib/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,8 +78,7 @@ class PermissionName {
7878
7979 @override
8080 bool operator == (Object other) =>
81- identical (this , other) ||
82- other is PermissionName && other.value == value;
81+ identical (this , other) || other is PermissionName && other.value == value;
8382
8483 @override
8584 int get hashCode => value.hashCode;
@@ -115,7 +114,7 @@ class PushPermissionDescriptor extends PermissionDescriptor {
115114 final bool userVisibleOnly;
116115
117116 const PushPermissionDescriptor ({this .userVisibleOnly = false })
118- : super (name: PermissionName .push);
117+ : super (name: PermissionName .push);
119118}
120119
121120// ---------------------------------------------------------------------------
@@ -130,7 +129,7 @@ class MidiPermissionDescriptor extends PermissionDescriptor {
130129 final bool sysex;
131130
132131 const MidiPermissionDescriptor ({this .sysex = false })
133- : super (name: const PermissionName ('midi' ));
132+ : super (name: const PermissionName ('midi' ));
134133}
135134
136135// ---------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -35,6 +35,5 @@ class ServerPermissions implements iface.Permissions {
3535 @override
3636 Future <iface.PermissionStatus > query (
3737 iface.PermissionDescriptor descriptor,
38- ) async =>
39- ServerPermissionStatus (descriptor.name);
38+ ) async => ServerPermissionStatus (descriptor.name);
4039}
You can’t perform that action at this time.
0 commit comments