Attention!You are viewing outdated ink! 4 docs. Click here to view the latest docs.
Applicable to ink! messages and constructors.
Works as a hint for UIs to determine if constructor/message should be picked as default.
At most one constructor or message can be marked as default.
Example
#[ink(message, default)]
pub fn im_default(&self) {
}