TestConnectionResponse.fromJson constructor

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

Implementation

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