Self.fromJson constructor

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

Implementation

factory Self.fromJson(Map<String, dynamic> json) => Self(
        href: (json['href'] ?? "") as String,
        methods: (json['methods'] ?? []) as List<String>,
      );