fromMap static method
Converts map to object.
Implementation
static ShakeForm fromMap(Map data) {
List<dynamic> componentsMaps = data['components'] ?? [];
List<ShakeFormComponent> components = componentsMaps
.map((c) => ShakeFormComponent.fromMap(c))
.where((element) => element != null)
.cast<ShakeFormComponent>()
.toList();
return ShakeForm(components);
}