of static method

TileTitle? of(
  1. dynamic title
)

Implementation

static TileTitle? of(title) {
  if (title == null) return null;
  return TileTitle._(title);
}