df_generate_dart_models 0.4.1 df_generate_dart_models: ^0.4.1 copied to clipboard
A tool to generate index/exports files for all Dart files in a directory.
import 'models/model_test/model_test.dart';
import 'models/model_user/model_user.dart';
// dart genmdl_dart.dart -s ../example
void main() {
final a = const ModelTest(
users: [
ModelUser(id: '123'),
],
checks: [1, 2, 3, 4],
);
print(a);
final b = a.mergeWith(const ModelTest(checks: [4, 5, 6]), deepMerge: false);
print(b);
}