WooUser.fromJson constructor

WooUser.fromJson(
  1. Map<String, dynamic> data
)

Implementation

WooUser.fromJson(Map<String, dynamic> data)
    : id = data['id'],
      email = data['email'],
      username = data['username'],
      password = data['password'],
      firstName = data['first_name'],
      lastName = data['last_name'],
      name = data['name'];