toPluralLowerName function
Convert field name to lowercase plural format
Implementation
String toPluralLowerName(String s) => s.endsWith('y')
? '${s.substring(0, s.length - 1).toLowerCase()}ies'
: (s.endsWith('s') || s.endsWith('o '))
? '${s.toLowerCase()}es'
: '${s.toLowerCase()}s';