CreateCustomActionTypeOutput.fromJson constructor

CreateCustomActionTypeOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateCustomActionTypeOutput.fromJson(Map<String, dynamic> json) {
  return CreateCustomActionTypeOutput(
    actionType:
        ActionType.fromJson(json['actionType'] as Map<String, dynamic>),
    tags: (json['tags'] as List?)
        ?.whereNotNull()
        .map((e) => Tag.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}