SourceAuth.fromJson constructor

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

Implementation

factory SourceAuth.fromJson(Map<String, dynamic> json) {
  return SourceAuth(
    type: (json['type'] as String).toSourceAuthType(),
    resource: json['resource'] as String?,
  );
}