VpcLinks.fromJson constructor

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

Implementation

factory VpcLinks.fromJson(Map<String, dynamic> json) {
  return VpcLinks(
    items: (json['item'] as List?)
        ?.whereNotNull()
        .map((e) => VpcLink.fromJson(e as Map<String, dynamic>))
        .toList(),
    position: json['position'] as String?,
  );
}