SharedArrayBufferIssueDetails.fromJson constructor

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

Implementation

factory SharedArrayBufferIssueDetails.fromJson(Map<String, dynamic> json) {
  return SharedArrayBufferIssueDetails(
    sourceCodeLocation: SourceCodeLocation.fromJson(
        json['sourceCodeLocation'] as Map<String, dynamic>),
    isWarning: json['isWarning'] as bool? ?? false,
    type: SharedArrayBufferIssueType.fromJson(json['type'] as String),
  );
}