Delegate.fromJson constructor

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

Creates a Delegate from JSON data.

Implementation

Delegate.fromJson(Map<String, dynamic> json)
    : this(
        name: json['name'],
        namespace: json['namespace'],
      );