WooJWTResponse.fromJson constructor

WooJWTResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

WooJWTResponse.fromJson(Map<String, dynamic> json) {
  token = json['token'];
  userEmail = json['user_email'];
  userNicename = json['user_nicename'];
  userDisplayName = json['user_display_name'];
}