fromJson static method

Logs fromJson(
  1. dynamic value
)

Returns a new Logs instance and imports

Implementation

// ignore: prefer_constructors_over_static_methods
static Logs fromJson(dynamic value) {
  final json = value.cast<String, dynamic>();
  return Logs(
    events: LogEvent.listFromJson(json[r'events']),
  );
}