getValue<T> method

T getValue<T>()

Return the first T if this has the designed field

Example :

String? field = interaction.getValue<String>();
int? field = interaction.getValue<int>();

Implementation

T getValue<T> () => data.first as T;