Action.fromJson constructor

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

Implementation

factory Action.fromJson(Map<String, dynamic> json) {
  return Action(
    crossRegionCopy: (json['CrossRegionCopy'] as List)
        .whereNotNull()
        .map((e) => CrossRegionCopyAction.fromJson(e as Map<String, dynamic>))
        .toList(),
    name: json['Name'] as String,
  );
}