of static method
Implementation
static PushEventsBody of({String? type, List<IAccountEvent>? events}) {
final self = PushEventsBody(<String, dynamic>{},
mtype: PushEventsBodyRef, update: true);
if (type != null) self.type = type;
if (events != null) self.events = events;
return self;
}