Account constructor
Account({})
Implementation
factory Account({
$core.int? id,
$core.String? email,
$core.String? name,
$fixnum.Int64? usage,
$fixnum.Int64? cap,
$core.String? password,
$0.Timestamp? createdAt,
$0.Timestamp? updatedAt,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (email != null) {
_result.email = email;
}
if (name != null) {
_result.name = name;
}
if (usage != null) {
_result.usage = usage;
}
if (cap != null) {
_result.cap = cap;
}
if (password != null) {
_result.password = password;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
return _result;
}