GetConnectionResponse.fromJson constructor

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

Implementation

factory GetConnectionResponse.fromJson(Map<String, dynamic> json) {
  return GetConnectionResponse(
    connection: json['Connection'] != null
        ? Connection.fromJson(json['Connection'] as Map<String, dynamic>)
        : null,
  );
}