File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -270,18 +270,18 @@ class SocketProfile extends Response {
270270 String get type => 'SocketProfile' ;
271271
272272 /// List of socket statistics.
273- late final List <SocketStatistic > sockets;
273+ final List <SocketStatistic > sockets;
274274
275275 SocketProfile ({required this .sockets});
276276
277- SocketProfile ._fromJson (Map <String , dynamic > json) {
278- // TODO(bkonyi): make this part of the vm_service.dart library so we can
279- // call super._fromJson.
280- sockets = List < SocketStatistic >. from (
281- createServiceObject (json[ ' sockets' ], const [ ' SocketStatistic' ])
282- as List ? ??
283- []);
284- }
277+ SocketProfile ._fromJson (Map <String , dynamic > json)
278+ :
279+ // TODO(bkonyi): make this part of the vm_service.dart library so we can
280+ // call super._fromJson.
281+ sockets = List < SocketStatistic >. from (
282+ createServiceObject (json[ 'sockets' ], const [ 'SocketStatistic' ])
283+ as List ? ??
284+ []);
285285}
286286
287287/// A [Response] containing the enabled state of a service extension.
You can’t perform that action at this time.
0 commit comments