startsWithUpperCase static method

bool startsWithUpperCase(
  1. String? string
)

Returns true if the string starts with the upper case character.

Returns false if string is empty.

Example: print(startsWithUpperCase("Dart")); => true

print(startsWithUpperCase(""));
=> false

print(startsWithUpperCase(null));
=> false

Implementation

static bool startsWithUpperCase(String? string) =>
    Style.startsWithUpperCase(string);