DeclineHandshakeResponse.fromJson constructor

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

Implementation

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