Initial commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
|
||||
String? yearOf(String? date) {
|
||||
if (date == null || date.length < 4) return null;
|
||||
return date.substring(0, 4);
|
||||
}
|
||||
Reference in New Issue
Block a user