construct static method

dynamic construct(
  1. Map<String, dynamic> json
)

Implementation

static construct(Map<String, dynamic> json) {
  switch (json['type']) {
    case 'ActionTaken':
      return ActionTaken.fromJson(json);
  }
}