poptart_lex 0.2.0 copy "poptart_lex: ^0.2.0" to clipboard
poptart_lex: ^0.2.0 copied to clipboard

Generated Dart types and method descriptors for AT Protocol ecosystem lexicons.

example/example.dart

import 'package:poptart_lex/com/atproto/server/create_session/input.dart'
    as create_session;
import 'package:poptart_lex/docs.dart' as docs;

void main() {
  final input = create_session.ServerCreateSessionInput(
    identifier: 'alice.example.com',
    password: 'app-password',
  );

  print(input.toJson());
  print(docs.comAtprotoServerCreateSession['id']);
}
1
likes
160
points
2.08k
downloads

Documentation

Documentation
API reference

Publisher

verified publishersprk.so

Weekly Downloads

Generated Dart types and method descriptors for AT Protocol ecosystem lexicons.

Homepage
Repository (GitHub)
View/report issues
Contributing

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

characters, freezed_annotation, json_annotation, poptart_core, poptart_primitives, poptart_xrpc

More

Packages that depend on poptart_lex