toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'type'] = type;
  if (everySeconds != null) {
    json[r'everySeconds'] = everySeconds;
  }
  if (shardGroupDurationSeconds != null) {
    json[r'shardGroupDurationSeconds'] = shardGroupDurationSeconds;
  }
  return json;
}