toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'message': message,
    'signature': signature,
    'algoId': algoId,
    'publicKey': publicKey,
  }..removeWhere((k, v) => v == null);
}