Map<String, Object?> toJson() { var statusMappings = this.statusMappings; final json = <String, Object?>{}; json[r'statusMappings'] = statusMappings.map((i) => i.toJson()).toList(); return json; }