toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (algorithm != null) {
buffer.writeAll(['"algorithm":', jsonEncode(algorithm), ','], '');
}
if (period != null) {
buffer.writeAll(['"period":', period, ','], '');
}
}