toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final certificate = this.certificate;
  final mode = this.mode;
  return {
    'certificate': certificate,
    'mode': mode.toValue(),
  };
}