AdminCreateUserResponse.fromJson constructor

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

Implementation

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