Operations.fromJson constructor

Operations.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Operations.fromJson(Map<String, Object?> json) {
  return Operations(
    linkGroups: (json[r'linkGroups'] as List<Object?>?)
            ?.map((i) =>
                LinkGroup.fromJson(i as Map<String, Object?>? ?? const {}))
            .toList() ??
        [],
  );
}