parseTileMode function

TileMode? parseTileMode(
  1. String? string
)

Implementation

TileMode? parseTileMode(String? string) {
  TileMode? rst;
  TileMode.values.forEach((element) {
    if (string == element.toJson()) {
      rst = element;
    }
  });
  return rst;
}