manualFromJson method

  1. @override
CNode manualFromJson(
  1. String widgetType,
  2. Map<String, dynamic> json,
  3. DynamicAttributes parser,
  4. ActionMapper actionMapper,
)
override

Implementation

@override
CNode manualFromJson(
  String widgetType,
  Map<String, dynamic> json,
  DynamicAttributes parser,
  ActionMapper actionMapper,
) {
  switch (widgetType) {
    case GMNType.googleMaps:
      return GoogleMapsOpenNode.fromJson(
        widgetType,
        json,
        parser,
        actionMapper,
      );
    default:
      return parent.manualFromJson(widgetType, json, parser, actionMapper);
  }
}