UpdateUserStatus.fromJson constructor

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

Parse from a json

Implementation

UpdateUserStatus.fromJson(Map<String, dynamic> json) {
  this.userId = json['user_id'];
  this.status = UserStatus.fromJson(json['status'] ?? <String, dynamic>{});
  this.extra = json['@extra'];
}