fromJson method

  1. @override
List<Action> fromJson(
  1. List? json
)

Converts a JSON object to a list of Action objects.

Parameters:

  • json – A list of dynamic objects representing the JSON data.

Returns a list of Action objects created from the JSON data.

Implementation

@override
List<Action> fromJson(List<dynamic>? json) =>
    json != null ? Action.actionsFromJson(json) : [];