toJson method
Converts a StatefulSetOrdinals instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempStart = start;
if (tempStart != null) {
jsonData['start'] = tempStart;
}
return jsonData;
}