Instance MethodSwiftflatMap(_:)Available because Self conforms to Sequence.Deprecated since Swift 4.1func flatMap<ElementOfResult>(_ transform: (Self.Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult]