Last active
January 16, 2020 07:31
-
-
Save flappyBug/610ca2de82d3426b696f456e6e8c1805 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Data { | |
final List<DataField> fields; | |
const Data( {this.fields}); | |
} | |
class DataField { | |
final String name; | |
final Type type; | |
const DataField(this.name, this.type); | |
} | |
void main() { | |
print(Data(fields: [DataField('scanResult', <String>[].runtimeType)])); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment