GetVersionResult.fromJson constructor

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

Implementation

factory GetVersionResult.fromJson(Map<String, dynamic> json) {
  return GetVersionResult(
    protocolVersion: json['protocolVersion'] as String,
    product: json['product'] as String,
    revision: json['revision'] as String,
    userAgent: json['userAgent'] as String,
    jsVersion: json['jsVersion'] as String,
  );
}