GoogleMapsOpenNode constructor
GoogleMapsOpenNode({
- required NodeID id,
- NodeID? parentID,
- CNode? child,
- List<
CNode> ? children, - String? name,
- String? description,
- double? childOrder,
- Map<
String, dynamic> ? attributes, - RectProperties? rectProperties,
- DateTime? updatedAt,
- PageID? pageID,
- NodeID? stabilID,
- PageID? componentID,
- List<
CNode> ? componentChildren, - bool? isLocked,
- List<
String> ? requiredAttributes,
Implementation
GoogleMapsOpenNode({
required final NodeID id,
final NodeID? parentID,
final CNode? child,
final List<CNode>? children,
final String? name,
final String? description,
final double? childOrder,
final Map<String, dynamic>? attributes,
final RectProperties? rectProperties,
final DateTime? updatedAt,
final PageID? pageID,
final NodeID? stabilID,
final PageID? componentID,
final List<CNode>? componentChildren,
final bool? isLocked,
final List<String>? requiredAttributes,
}) : super(
id: id,
type: GMNType.googleMaps,
name: name ?? 'Google Maps',
parentID: parentID,
intrinsicState: const GoogleMapsIntrinsicStates(),
defaultAttributes: const GoogleMapsDefaultAttributes().get,
attributes: attributes ?? {},
rectProperties: rectProperties ?? CNode.defaultRProperties,
adapter: GoogleMapsAdapter(),
description: description,
childOrder: childOrder ?? 0,
child: child,
children: children,
updatedAt: updatedAt ?? DateTime.now(),
pageID: pageID ?? '',
stabilID: stabilID,
componentID: componentID,
isLocked: isLocked ?? false,
requiredAttributes: requiredAttributes ??
const GoogleMapsDefaultAttributes()
.requiredAttributes(GMNType.googleMaps),
);