toModel method

  1. @override
dynamic toModel(
  1. Map data
)
override

Implementation

@override
toModel(Map data) {
  AccountDataLite accountDataLite = AccountDataLite()
    ..account = data['account']
    ..status = data['status']
    ..expiredAt = data['expired_at']
    ..registeredAt = data['registered_at']
  ;
  return accountDataLite;
}