Instance Method

addField(_:value:isInline:)

Adds a field to the embed

Declaration

mutating func addField(_ name: String, value: String, isInline: Bool = false)

Parameters

name

Name to give field

value

Text that will be displayed underneath name

inline

Whether or not to keep this field inline with others