MyService<T> constructor
MyService<T> ({})
Implementation
MyService({
this.service,
this.asyncService,
this.permanent = false,
this.fenix = false,
this.tag,
}) : assert(
(service != null) ^ (asyncService != null),
'service 和 asyncService 必须且只能提供其中一个',
);