serverpod_admin_client 1.0.13 copy "serverpod_admin_client: ^1.0.13" to clipboard
serverpod_admin_client: ^1.0.13 copied to clipboard

Generated client models and endpoint bindings for Serverpod Admin dashboards.

example/serverpod_admin_client_example.dart

import 'package:serverpod_admin_client/serverpod_admin_client.dart';

void main() {
  final resource = AdminResource(
    key: 'posts',
    tableName: 'post',
    columns: [
      AdminColumn(
        name: 'id',
        dataType: 'int',
        hasDefault: true,
        isPrimary: true,
      ),
      AdminColumn(
        name: 'title',
        dataType: 'String',
        hasDefault: false,
        isPrimary: false,
      ),
    ],
  );

  print(resource.toJson());
}
3
likes
160
points
495
downloads

Documentation

API reference

Publisher

verified publisherizeesoft.com

Weekly Downloads

Generated client models and endpoint bindings for Serverpod Admin dashboards.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

serverpod_auth_core_client, serverpod_auth_idp_client, serverpod_client

More

Packages that depend on serverpod_admin_client