setDeviceAttributes method

  1. @override
void setDeviceAttributes({
  1. required Map<String, dynamic> attributes,
})
override

Use this function to send custom device attributes such as app preferences, timezone etc

Implementation

@override
void setDeviceAttributes({required Map<String, dynamic> attributes}) {
  return methodChannel
      .invokeNativeMethodVoid(NativeMethods.setDeviceAttributes, {
    NativeMethodParams.attributes: attributes,
  });
}