Skip to content

Instantly share code, notes, and snippets.

View HerrNiklasRaab's full-sized avatar
🎯
Focusing

Niklas Raab HerrNiklasRaab

🎯
Focusing
View GitHub Profile
{
"pricePerShareInEuro": 500,
"noticePeriodInYears": 4,
"estimatedDividendPerYear": "1 - 3%",
"products": [
{
"name": "Junges Girokonto",
"priceGlsContribution": {
"billingPeriod": "yearly",
"pricePerBillingPeriodInEuro": 12
@HerrNiklasRaab
HerrNiklasRaab / user.dart
Created April 16, 2020 20:23
Boilerplate code serialization
class User extends Document {
final Name name;
final Address address;
final Gender gender;
final Birthday birthday;
final Email email;
final Weight weight;
final Length height;
final bool _hasFinishedSignUp;
final Iterable<Bike> myBikes;
abstract class User extends DataModel {
final Name name;
final Address address;
final Gender gender;
final Birthday birthDay;
final Email email;
final Weight weight;
final Length height;
final bool hasFinishedSignUp;