Dart - Flutter Example of the Switch Case

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024

Комментарии • 1

  • @mohamadputraalrasybzookepl2793
    @mohamadputraalrasybzookepl2793 2 года назад

    why my switchCase have error The body might complete normally, causing 'null' to be returned, but the return type, 'String', is a potentially non-nullable type.
    Try adding either a return or a throw statement at the end.dartbody_might_complete_normally