toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'logStreamFile',
    if (extra != null) '@extra': extra,
    'path': path,
    'max_file_size': max_file_size,
    'redirect_stderr': redirect_stderr
  };
}