fromJson static method

InspectLogLine fromJson(
  1. Map<String, Object?> json
)

Implementation

static InspectLogLine fromJson(Map<String, Object?> json) => InspectLogLine(
  sequence: (json['n'] as num?)?.toInt() ?? 0,
  text: json['text'] as String? ?? '',
  at: (json['at'] as num?)?.toInt() ?? 0,
);