HandshakeParty.fromJson constructor

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

Implementation

factory HandshakeParty.fromJson(Map<String, dynamic> json) {
  return HandshakeParty(
    id: json['Id'] as String,
    type: (json['Type'] as String).toHandshakePartyType(),
  );
}