GetUserResponse.fromJson constructor

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

Implementation

factory GetUserResponse.fromJson(Map<String, dynamic> json) {
  return GetUserResponse(
    user: json['User'] != null
        ? User.fromJson(json['User'] as Map<String, dynamic>)
        : null,
  );
}