Delegate.fromJson constructor

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

Implementation

factory Delegate.fromJson(Map<String, dynamic> json) {
  return Delegate(
    id: json['Id'] as String,
    type: (json['Type'] as String).toMemberType(),
  );
}