BMFSuggestionChildrenInfo.fromMap constructor Null safety

BMFSuggestionChildrenInfo.fromMap(
  1. Map map
)

map => BMFSuggestionChildrenInfo

Implementation

BMFSuggestionChildrenInfo.fromMap(Map map)
    : assert(
          map != null, // ignore: unnecessary_null_comparison
          'Construct a BMFSuggestionChildrenInfo,The parameter map cannot be null !') {
  uid = map['uid'];
  name = map['name'];
  showName = map['showName'];
}