GenerateDartModel.assertRequired constructor
GenerateDartModel.assertRequired({})
Constructs a new instance of GenerateDartModel, and asserts that all required parameters are not null.
Implementation
factory GenerateDartModel.assertRequired({
String? className,
Set<dynamic>? fields,
bool? shouldInherit,
String? inheritanceConstructor,
String? keyStringCase,
String? description,
}) {
return GenerateDartModel(
className: className,
fields: fields,
shouldInherit: shouldInherit,
inheritanceConstructor: inheritanceConstructor,
keyStringCase: keyStringCase,
description: description,
);
}