validate method

  1. @override
void validate()
override

Implementation

@override
void validate() {
  if(themeLight == null || themeDark == null) {
    throw AFException("You must call setFlutterFundamentals in fundamental_theme.dart");
  }
  if(values.isEmpty) {
    throw AFException("You must call setAFibFundamentals in fundamental_theme.dart");
  }
}