of static method

PushUrlBody of({
  1. String? type,
  2. Uri? url,
})
override

Implementation

static PushUrlBody of({
  String? type,
  Uri? url
  }) {
  final self = PushUrlBody(<String, dynamic>{}, mtype: PushUrlBodyRef, update: true);
  if (type != null) self.type = type;
  if (url != null) self.url = url;
  return self;
}