VerifyAccountResponseMessage.fromMap constructor

VerifyAccountResponseMessage.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory VerifyAccountResponseMessage.fromMap(Map<String, dynamic> map) {
  return VerifyAccountResponseMessage(
    id: map['id'],
    accountId: map['account_id'],
    data: AccountModel.fromMap(map['data']),
    createdAt: map['created_at'] != null ? DateTime.fromMillisecondsSinceEpoch(map['created_at']) : null,
  );
}