getProviderStringSingular function

String getProviderStringSingular(
  1. String type
)

Implementation

String getProviderStringSingular(String type) =>
    '${type.singularize()}${(type.singularize() == type.pluralize() ? 'One' : '')}Provider';