CreateConnectionResponse.fromJson constructor

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

Implementation

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