BallObject constructor

BallObject({
  1. required String typeName,
  2. Object? superObject,
  3. Map<String, Object?>? fields,
  4. Map<String, Object?>? methods,
})

Implementation

BallObject({
  required this.typeName,
  this.superObject,
  Map<String, Object?>? fields,
  Map<String, Object?>? methods,
}) : fields = fields ?? <String, Object?>{},
     methods = methods ?? <String, Object?>{},
     super(<String, Object?>{}) {
  _refreshEntries();
}