irc.dart icon indicating copy to clipboard operation
irc.dart copied to clipboard

Dart Error: error: import of dart:mirrors is not supported in the current Dart runtime

Open k-e-l-p opened this issue 5 years ago • 3 comments

I get this error when trying to use this library in flutter. flutter --version:

Flutter 1.17.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f7a6a7906b (2 weeks ago) • 2020-05-12 18:39:00 -0700
Engine • revision 6bc433c6b6
Tools • Dart 2.8.2

k-e-l-p avatar May 26 '20 16:05 k-e-l-p

I am having the same issue, any help is much appreciated.

syedecryptr avatar Jul 02 '20 20:07 syedecryptr

reflectable package maybe alternative

https://pub.dev/packages/reflectable/example

7NT avatar Oct 05 '20 17:10 7NT

Hi, I faced with the same issue. Currently, the only way I found to solve this issue is to remove references to reflection with some minor changes. My version of the code is available at https://github.com/ostafen/irc.dart, under the "flutter" branch.

ostafen avatar Dec 19 '21 14:12 ostafen