GetConnectionResponse.fromJson constructor
Implementation
factory GetConnectionResponse.fromJson(Map<String, dynamic> json) {
return GetConnectionResponse(
connectedAt: timeStampFromJson(json['connectedAt']),
identity: json['identity'] != null
? Identity.fromJson(json['identity'] as Map<String, dynamic>)
: null,
lastActiveAt: timeStampFromJson(json['lastActiveAt']),
);
}