Authorizers.fromJson constructor

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

Implementation

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