xyz_gen_annotations 0.1.0 copy "xyz_gen_annotations: ^0.1.0" to clipboard
xyz_gen_annotations: ^0.1.0 copied to clipboard

Annotations for the xyz_gen package.

example/example.dart

//.title
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//
// Your Project Name
// Copyright Ⓒ Your Name
//
// Licensing details can be found in the LICENSE file in the root directory.
//
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//.title~

import 'package:xyz_gen_annotations/xyz_gen_annotations.dart';

part '_model_user.g.dart';

// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

@GenerateModel(
  className: "ModelUser",
  fields: {
    "whenLastLoggedIn": "DateTime?",
    "userPubId": "String?",
    "connectionUids": "Set<String>?",
    "relationshipIds": "Set<String>?",
    "didSendWelcomeEmail": "bool?",
    "emailSubscriptions": "Set<String>?",
    "pushSubscriptions": "Set<String>?",
    "smsSubscriptions": "Set<String>?",
  },
)
abstract class _ModelUser extends ThisModel<ModelUser> {
  _ModelUser._();
}
1
likes
0
points
481
downloads

Publisher

unverified uploader

Weekly Downloads

Annotations for the xyz_gen package.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, xyz_utils

More

Packages that depend on xyz_gen_annotations