toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => removeNulls({
      'certificates': certificates?.map((e) => base64.encode(e)),
      'timeout': timeout?.inSeconds,
      'path': path
    });