toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.isSupported != null) {
    json[r'isSupported'] = this.isSupported;
  } else {
    json[r'isSupported'] = null;
  }
    json[r'segments'] = this.segments;
    json[r'warnings'] = this.warnings;
  return json;
}