firstUp function

String firstUp(
  1. String text
)

Implementation

String firstUp(String text) =>
    text.substring(0, 1).toUpperCase() + text.substring(1);