ChangeNotification constructor

ChangeNotification({
  1. Iterable<String>? tokens,
  2. String? key,
  3. String? typeName,
  4. String? rev,
  5. String? hashCode_5,
})

Implementation

factory ChangeNotification({
  $core.Iterable<$core.String>? tokens,
  $core.String? key,
  $core.String? typeName,
  $core.String? rev,
  $core.String? hashCode_5,
}) {
  final _result = create();
  if (tokens != null) {
    _result.tokens.addAll(tokens);
  }
  if (key != null) {
    _result.key = key;
  }
  if (typeName != null) {
    _result.typeName = typeName;
  }
  if (rev != null) {
    _result.rev = rev;
  }
  if (hashCode_5 != null) {
    _result.hashCode_5 = hashCode_5;
  }
  return _result;
}