alef 0.23.15

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
@freezed
class {{ name }} with _${{ name }} {
  const factory {{ name }}({
    required {{ ty_str }} {{ param_name }},
  }) = _{{ name }};

  factory {{ name }}.fromJson(Map<String, dynamic> json) => _${{ name }}FromJson(json);
}