BatchAssociateUserStackResult.fromJson constructor

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

Implementation

factory BatchAssociateUserStackResult.fromJson(Map<String, dynamic> json) {
  return BatchAssociateUserStackResult(
    errors: (json['errors'] as List?)
        ?.whereNotNull()
        .map((e) =>
            UserStackAssociationError.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}