conjugate method

String conjugate(
  1. String to
)

Verb

VBP -> Present

VBD -> Past

VBN -> Past Participle

VBS -> PresentS

VBG -> Gerund

'rallied'.conjugate('VBP'); // rally
'fly'.conjugate('VBD'); // flew
'throw'.conjugate('VBN'); // thrown
'rally'.conjugate('VBS'); // rallies
'die'.conjugate('VBG'); // dying

Implementation

String conjugate(String to) => _conjugate(trim().toLowerCase(), to);