UserStatusOffline.fromJson constructor

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

Parse from a json

Implementation

UserStatusOffline.fromJson(Map<String, dynamic> json) {
  this.wasOnline = json['was_online'];
}