json_config_generator 0.1.3 copy "json_config_generator: ^0.1.3" to clipboard
json_config_generator: ^0.1.3 copied to clipboard

SDKDart
outdated

Configuration generator from json files.

example/README.md

import 'package:json_config_annotation/json_config_annotation.dart';
import 'dart:convert';
import 'package:flutter/services.dart';

part 'config.g.dart'; //{dart file name}.g.dart

@Configuration(
  environmentEnumName: 'Env',
  environments:[
    Environment(name:'dev', path:'assets/config/dev.json'),
    Environment(name:'prd', path:'assets/config/prd.json'),
  ],
)
class $Config{}
7
likes
120
points
52
downloads

Publisher

unverified uploader

Weekly Downloads

Configuration generator from json files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, build, build_config, built_collection, code_builder, dart_style, json_config_annotation, recase, source_gen

More

Packages that depend on json_config_generator