FieldDeclaration.fromMap constructor Null safety

FieldDeclaration.fromMap(
  1. Map map
)

Implementation

FieldDeclaration.fromMap(Map map) {
  propertyName = map['propertyName'] as String;
  fieldName = map['fieldName'] as String;
  fieldType = map['fieldType'] as String;
  primary = map['primary'] as bool;
  mark = map['mark'] as String;
}